/**
 * 全局模块配置入口
 * 统一引用可能未被直接使用但需要保留的JS文件
 */

// config模块
const helpersConfig = require('./helpers_config');

// helpers模块
const errorIndex = require('../helpers/error/index');

// OA项目模块
const flowBizConfig = require('../projects/oa/config/flow_biz_config');
const moduleRegistry = require('../projects/oa/config/module_registry');
const projectBizConfig = require('../projects/oa/config/project_biz_config');
const serviceConfig = require('../projects/oa/config/service_config');
const miniHelper = require('../projects/oa/helpers/mini_helper');
const pathImport = require('../projects/oa/helpers/path_import');
const oaStoreIndex = require('../projects/oa/store/index');
const crossTestStore = require('../projects/oa/store/modules/cross/cross_test_store');
const newsStore = require('../projects/oa/store/news_store');
const toolsStore = require('../projects/oa/store/tools_store');
const whiteStore = require('../projects/oa/store/white_store');

// PLM项目模块
const plmStoreConfig = require('../projects/plm/config/store_config');
const projectService = require('../projects/plm/services/project/project_service');
const projectDataService = require('../projects/plm/services/project/project_data_service');
const stateMachine = require('../projects/plm/store/modules/research/state_machine');
const validate = require('../projects/plm/utils/validate/validate');

// Store模块
const materialStoreConfig = require('../store/modules/material/store_config');

// 测试模块
const testHelper = require('../tests/test_helper');

// 导出所有模块
module.exports = {
  // Config模块
  helpersConfig,
  
  // Helpers模块
  errorIndex,
  
  // OA项目模块
  flowBizConfig,
  moduleRegistry,
  projectBizConfig,
  serviceConfig,
  miniHelper,
  pathImport,
  oaStoreIndex,
  crossTestStore,
  newsStore,
  toolsStore,
  whiteStore,
  
  // PLM项目模块
  plmStoreConfig,
  projectService,
  projectDataService,
  stateMachine,
  validate,
  
  // Store模块
  materialStoreConfig,
  
  // 测试模块
  testHelper
}; 